home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mntlb20 / lib / changes < prev    next >
Text File  |  1992-05-15  |  15KB  |  471 lines

  1. changes:
  2.     new file to track changes to the lib
  3. include/*:
  4.     wholesale reconstruction; everything compiler dependent should
  5.     now be in compiler.h
  6.     also note that wchar_t has been defined as "int" for gcc; this
  7.     is because gcc lets you do L'\400' but not '400', so wchar_t
  8.     isn't "char"; but only 2 bytes are pushed for L'\400', so
  9.     it's not "long" either
  10. abort.c:
  11.     change type from void to __EXITING
  12.     make sure it always exits, even under MiNT
  13. alglobal.c:
  14.     track changes from gnulib
  15. alphasor.c:
  16.     track changes from gnulib
  17. atof.c:
  18.     track changes from gnulib
  19.     get rid of warnings about unused variables
  20. bcmp.c:
  21.     track gnulib changes
  22.     remove lbcopy(); it's not ANSI
  23. bsearch.c:
  24.     track gnulib changes, use __PROTO where appropriate
  25. bzero.c:
  26.     track gnulib changes, remove lbzero
  27. console.c:
  28.     fix parameters to Fwrite
  29. ctime.c:
  30.     add appropriate header files, get rid of warnings
  31. ctype.c:
  32.     track gnulib changes
  33. doprnt.c:
  34.     add #include <math.h> for float declarations
  35.     use __PROTO where appropriate
  36.     change type of fmt0 to agree with definition in lib.h
  37. fclose.c:
  38.     add #includes to get rid of warnings
  39. fdopen.c:
  40.     get rid of of more warnings
  41. filbuf.c:
  42.     ditto
  43. fopen.c:
  44.     ditto
  45. fprintf.c:
  46.     change everything to use <stdarg.h>; we no longer have to special
  47.     case printf and fprintf in <stdio.h>
  48. ftw.c:
  49.     track gnulib changes
  50. getcwd.c:
  51.     remove warnings, fix a comment
  52. getlogin.c:
  53.     add <stdlib.h> for declaration of getenv()
  54. getw.c:
  55.     track gnulib changes
  56. gmon.c:
  57.     get rid of some warnings
  58. gnulib2.c:
  59.     get rid of warnings about functions being declared but not defined
  60.     remove minix #ifdefs
  61.     track gnulib changes
  62. grp.c:
  63.     use __PROTO, get rid of an unused variable
  64. ioctl.c:
  65.     #include <unistd.h>
  66. isatty.c:
  67.     cast an expression to (void) to get rid of a warning
  68. kill.c:
  69.     unistd.h included
  70. lib.h:
  71.     use __PROTO from compiler.h
  72.     add declarations for _ltoa, _ultoa, _itoa, _doprnt
  73. linea.h:
  74.     track gnulib changes
  75. lseek.c:
  76.     lib.h included
  77. ltoa.c:
  78.     remove redundant declaration
  79. main.c:
  80.     remove unused variables
  81.     add declarations and casts to (void) as necessary
  82.     exit is now an __EXITING function
  83.     don't close standard output, input, or error, just flush them
  84. malloc.c:
  85.     remove mlalloc, relalloc, clalloc, call to lbzero
  86. mkdir.c:
  87.     include lib.h to remove warnings
  88. mktemp.c:
  89.     include lib.h; add startat as per gnulib
  90. open.c:
  91.     add extra includes to remove warnings; fix type of "pmode"
  92.     add casts to (void) where necessary
  93. pause.c:
  94.     casts to (void)
  95. popen.c:
  96.     include unistd.h
  97. qsort.c:
  98.     track gnulib changes
  99.     change so non-ANSI compilers can use this
  100. raise.c:
  101.     include unistd.h
  102. scandir.c:
  103.     track gnulib changes; include string.h
  104. scanf.c:
  105.     include string.h, use __PROTO where appropriate
  106.     track gnulib
  107. sigblock.c:
  108.     change types from "unsigned long" to "long" (Berkeley uses "int",
  109.     so this will be more BSDish)
  110. spawnv{e,p}.c:
  111.     add va_end where appropriate
  112.     add some declarations to get rid of warnings
  113. sprintf.c:
  114.     remove unused code
  115.     change definitions to use stdarg.h and ANSI ... style
  116. stat.c:
  117.     include unistd.h
  118. strlen.c:
  119.     track gnulib
  120. strstr.c:
  121.     remove unnecessary declarations (per gnulib, I think)
  122. system.c:
  123.     make retval an auto variable instead of static, now that we're
  124.     not vfork'ing
  125.     fix up some warnings (some spurious, some not)
  126. thread.c:
  127.     casts to (void) where needed
  128. tmpnam.c:
  129.     use MJ's version (I think gnulib does, too)
  130. unlink.c:
  131.     include lib.h
  132. utime.c:
  133.     ditto
  134. wait.c:
  135.     use Pwait3 instead of Pwait, for compatibility with MiNT 0.8
  136.  
  137. type.h:: ++jrb
  138.     add caddr_t
  139.  
  140. osbind.h:: ++jrb
  141.     add defn for Bconmap and Bconctl
  142.     adjust defn for Flopfmt.
  143.     as suggested by andreas, delete volatiles for asm() thats
  144.     are split for better code.
  145.  
  146. fcntl.h:: ++jrb
  147.     add proto for fcntl
  148.  
  149. unistd.h:: ++jrb
  150.     rm const from argv. i know logically it  should be there.
  151.  
  152. qsort.c:: ++jrb
  153.     replaced with one from gnulib
  154.  
  155. st-out.h:: ++jrb
  156.     add A_LNAM for gst syms
  157.  
  158. atof.c:: ++jrb
  159.     merged with gnulib (corrected type for return pointer)
  160.  
  161. scanf.c:: ++jrb
  162.     adjust casts
  163.  
  164. localtim.c:: ++jrb
  165.     adjust type of indst. add protos
  166.  
  167. linea.h:: ++jrb
  168.     adjust protos
  169.  
  170. gemfast.h :: ++jrb
  171.     merge with one from tos lib
  172. strftime.c:
  173.     merge changes from tos lib
  174. sysconf.c:
  175.     new file by Dave Gymer
  176. atof.c,strtol.c,strtoul.c:
  177.     merged new ANSI stuff from mj
  178. various places:
  179.     applied changes from tos library (updates 8 and 9 from bammi)
  180. getrusag.c:
  181.     correct call to _ms2tval when which == RUSAGE_CHILDREN
  182. unx2dos.c:
  183.     fixed return value for _unx2dos on just "v:" (should be 0, since
  184.     this is a directory, not a character special file)
  185.  
  186. PATCHLEVEL 11:
  187.  
  188. mktemp.c:
  189.     AKP's patch to use MiNT pid's implemented (more or less)
  190. curses.h:
  191.     if HZ is defined by a previous include of param.h, #undef it
  192.     (to avoid conflict with the termcap capability named HZ)
  193. fcntl.h:
  194.     changes in struct flock and in O_NDELAY, O_SYNC, etc. to match
  195.     MiNT 0.9 pre-alpha. These may have to change again someday :-(.
  196.  
  197. PATCHLEVEL 12:
  198.  
  199. open.c:
  200.     changed to pass O_NDELAY, O_SYNC, and the file read/write mode
  201.     to the kernel, and to use O_DENYNONE mode if MiNT is active.
  202. osbind.h:
  203.     fixed the return value for Bconout() and Rwabs().
  204. read.c:
  205.     make sure Fread is never called with too big a value for terminals
  206.     (works around a TOS bug)
  207.  
  208. PATCHLEVEL 13:
  209.  
  210. crt0.s: ++jrb
  211.     in the prg/acc detection code, check parent basepage pointer;
  212.     if it's != 0, then we must be a prg. this test is in addition
  213.     to the official A0 test
  214. fopen.c:
  215.     moved _binmode and __default_mode__ to a separate file, binmode.c,
  216.     so that putting __default_mode__ = _IOBIN in the program will
  217.     change the behavior of stdin and stdout (someone on the net
  218.     suggested this, but I can't remember who -- it sounds good to
  219.     me).
  220. crtinit.c:
  221.     merged in change to "count" from patchlevel 72 of the gcc lib.
  222. malloc.c:
  223.     in realloc, don't free the old block unless it was successfully
  224.     reallocated (again, from patchlevel 72 of gcc lib)
  225. main.c,spawn.c,findfile.c:
  226.     when starting up, convert the environment variable PATH to
  227.     POSIX form (i.e. using ':' as a separator); when execing a
  228.     new program, convert back to old form so old programs will
  229.     work correctly
  230. dirent.c,dirent.h:
  231.     re-written to support MiNT 0.9 extended directory operations
  232. stat.c:
  233.     re-written to take advantage of MiNT 0.9's Fgetxattr function
  234. link.c,symlink.c:
  235.     re-written to support MiNT 0.9 link and symbolic link functions
  236. chmod.c:
  237.     added support for MiNT 0.9's Fchmod and Fchown functions
  238. gethostn.c:
  239.     changed so that if HOSTNAME isn't set in the environment, then
  240.     we look for it in the file "\local\hostname" (which could be
  241.     a symlink, under MiNT)
  242. open.c:
  243.     provide support for the real umask() function in MiNT 0.9
  244.  
  245. PATCHLEVEL 14::
  246.  
  247. stat.h:
  248.     Re-arrange the stat structure back to its old form, update for
  249.     changes to MiNT 0.9 kernel.
  250. sysconf.c:
  251.     Provide _PC_NO_TRUNC pathconf() option.
  252. limits.h,unistd.h:
  253.     Update to reflect MiNT 0.9.
  254. strerror.c,perror.c:
  255.     Moved sys_errlist and sys_nerr from perror.c to strerror.c (where
  256.     they more properly belong), and added a message for EMLINK. Also:
  257.     had strerror() return "unknown error" instead of "" for errors
  258.     that it doesn't know about.
  259. errno.h:
  260.     Added EMLINK and moved some things around to leave space for
  261.     future additions to MiNT.
  262. dirent.c:
  263.     Added rewinddir code for TOS; this involved changes in the
  264.     dirent structure in dirent.h, too.
  265. *.c:
  266.     Changed FILENAME_MAX to PATH_MAX and included <limits.h>
  267.     instead of <stdio.h> where appropriate.
  268. various places:
  269.     Fixed compiler warnings.
  270. stat.c:
  271.     Made fstat() use the new FSTAT Fcntl in MiNT 0.9.
  272. grp.c:
  273.     Re-written to actually work from the file /etc/group (if found).
  274. getpw.c:
  275.     Changed return values of setpwent and endpwent to be void, as
  276.     seems to be normal. Also, reduced the buffer size used; no
  277.     password entry is likely to be 1024 bytes long!
  278. mkdir.c:
  279.     Added a 'mode' argument, per POSIX.
  280. types.h:
  281.     Corrected the utimbuf structure (there was a typo: axtime should
  282.     have been actime).
  283. unistd.h,getuid.c:
  284.     Oops: getgid should have type gid_t, getuid type uid_t, etc.
  285. utmp.c,wtmp.c,utmp.h:
  286.     New files from Stephen Usher.
  287. stat.c:
  288.     Apparently most Unixes count st_blocks in units of 512 bytes,
  289.     so we will too.
  290. localtim.c:
  291.     Change the name "_timezone" into "timezone"; some (most?) Unixes
  292.     export this variable.
  293. resource.h, setrlimi.c:
  294.     Add the rlim_max field to the rlimit structure; for now, this
  295.     is always RLIM_INFINITY.
  296. wait.h:
  297.     Added WIFEXITED.
  298.  
  299. PATCHLEVEL15::
  300.  
  301. console.c:
  302.     Try to use the GEMDOS input routines if appropriate; otherwise
  303.     try to guess which BIOS device the file refers to.
  304. stat.c:
  305.     The st_dev field for root directories wasn't being set; oops!
  306. gethostn.c:
  307.     Close the file we opened to find the host name from.
  308. uname.c,nice.c:
  309.     New files from Dave Gymer.
  310. unx2dos.c:
  311.     Provide special translation for "/pipe" as well as for "/dev".
  312. fread.c:
  313.     Correctly note EOF and errors for large reads.
  314. ttyname.c:
  315.     New file -- this is pretty hopeless under TOS, but works well
  316.     under MiNT.
  317.  
  318. PATCHLEVEL16:
  319.  
  320. stat.c:
  321.     Fix stat(".") under TOS.
  322. param.h, spawn.c:
  323.     Add NCARGS to param.h, update spawn() to use TOS_ARGS instead.
  324. crtinit.c:
  325.     Cleaned up slightly.
  326. tmpfile.c:
  327.     Under MiNT 0.9+, we may be able to just unlink the file and
  328.     keep using it; if so, this saves some work for atexit() and
  329.     also is a more sure way of getting rid of the temp file.
  330. access.c:
  331.     Check file ownership in the access() call.
  332. various header files:
  333.     Eliminate use of defined() in preparation to porting to stupid
  334.     compilers that can't handle it :-(.
  335. ioctl.c,ioctl.h:
  336.     Add fake TIOCLGET and TIOCLSET routines.
  337. timeoday.c:
  338.     New BSD-ish ftime(), gettimeofday() and settimeofday() system calls.
  339. clock.c, main.c:
  340.     Make the value returned be relative to the startup time
  341.     of the program.
  342. localtime.c:
  343.     Change the variable name back to _timezone (the gcc lib has
  344.     the underscore, POSIX and ANSI want it, and now that we have
  345.     ftime() and gettimeofday() little software will be needing
  346.     a variable called "timezone"). Apologies for the flipping and
  347.     flopping -- it's going to stay _timezone from here on in.
  348. osbind.cpp:
  349.     The "real" Rwabs has an extra parameter now, so we should reserve
  350.     an extra 4 bytes on the stack in the bios() call.
  351. signal.c, kill.c:
  352.     Moved the signal initialization stuff to signal.c.
  353. kill.c, sigblock.c:
  354.     Added checks (under TOS) for blocked signals, and made killpg()
  355.     on the current process group work under TOS.
  356. thread.c, vfork.cpp:
  357.     Moved some of the vfork() logic (under TOS) to tfork(), which
  358.     now does things like saving/restoring the signal state and
  359.     which also returns a more sensible pid for the child process.
  360. wait3.c:
  361.     Made it work under TOS.
  362. uname.c,utsname.h:
  363.     Cleaned up a bit (Dave Gymer sent me a newer version, and
  364.     I merged some of his changes).
  365. link.c:
  366.     Set errno correctly when Flink fails.
  367. scanf.c:
  368.     Correct the %n format to match what ANSI wants; also,
  369.     when matching the last character of the format string, don't
  370.     bother to peek ahead at the input, since we won't be needing
  371.     it (mgr wants this behaviour).
  372. main.c, unx2dos.c, getcwd.c:
  373.     Implement part of UNIXMODE, namely binary files by default
  374.     ("b") and preferred root directory ("r"); under MiNT, if we're
  375.     on drive u: and no preferred directory is given then we
  376.     assume u:.
  377. crtinit.c:
  378.     Allow _stksize = -foo to mean "keep foo bytes of memory for
  379.     stack+heap, and use it for mallocs".
  380. basepage.h:
  381.     Make sure that people know which fields are legal.
  382. sscanf.c, fscanf.c:
  383.     Added vscanf, vsscanf, vfscanf functions (from Bjarne Pohlers).
  384.  
  385. PATCHLEVEL17::
  386.  
  387. statfs.c:
  388.     New file, from Adrian Ashley.
  389. link.c:
  390.     Use unx2dos() on the names before calling the kernel (!).
  391. ttyname.c:
  392.     A missing argument (aargh! I should have used protos!)
  393.     Thanks to Dave Gymer for catching this one and the previous.
  394. unistd.h:
  395.     Changed _POSIX_VDISABLE from 255 to 0, to match the change in
  396.     the MiNT kernel from 0.91 to 0.92. (To be more accurate,
  397.     255 never actually was guaranteed to work; it just "usually"
  398.     did, and in fact still usually does, but 0 definitely does.)
  399. *.cpp:
  400.     Added Michael Ritzert's floating point changes from the gcc lib.
  401. scanf.c, ctype.[ch], fputc.c, malloc.c, system.c, osbind.h, float.h:
  402.     Added patches from gcc lib update15. (patchlevels 74 and 75)
  403.  
  404. PATCHLEVEL18:
  405.  
  406. LOTS OF PLACES:
  407.     Apply Dave Gymer's patches for Sozobon 2.0 support.
  408. bcmp.c, bzero.c, qsort.c:
  409.     Ansification (casting lvalues is a no-no :-).
  410. lockf.c:
  411.     New file from Dave Gymer.
  412. mkdir.c:
  413.     Added check for existing directories (from Alan Hourihane).
  414. ctype.[ch]:
  415.     Make _ctype a pointer again, so that it will be possible to
  416.     change character classes in different locales (and so that
  417.     existing code & libraries that use ctype.h don't break).
  418.  
  419. PATCHLEVEL19::
  420.  
  421. thread.c:
  422.     Oops! We were using memory that we didn't own -- TOS sets
  423.     the stack pointer based on the value of p_hitpa in the
  424.     basepage, and that wasn't set correctly :-(.
  425. various places:
  426.     More Sozobon diffs from Dave Gymer.
  427. signal.c:
  428.     Add trampoline code so that signals get 16 bit numbers on the
  429.     stack if __MSHORT__ is set.
  430. stdlib.h,compiler.h:
  431.     Added Bjarne Pohler's changes for g++ support.
  432. ioctl.h:
  433.     New defines for MiNT 0.93's extended keyboard.
  434. osbind.h:
  435.     Fixed the definition of Xbtimer (the function number was wrong).
  436.  
  437. PATCHLEVEL20::
  438.  
  439. crt0.s,gcrt0.s,crtinit.c:
  440.     For accessories, if _heapbase is not set already then Malloc
  441.     a chunk of memory to use as a stack/heap.
  442. gnulib2.c,osbind.h,mincl: ++jrb
  443.     Changes to support gcc 2.0.
  444. spawn.c: ++jrb
  445.     Fixed a missing initialization.
  446. tmpnam.c: ++nox@jelal.north.de
  447.     Allow temporary directories to have a trailing slash.
  448. dirent.c: ++phy62@de0hrz1a.bitnet
  449.     Fix handling of slashes in the TOS emulation stuff,
  450.     and stop returning volume labels.
  451. time.c:
  452.     Make sure the tm_wday field is set in the struct tm we're sending
  453.     to mktime(); otherwise, the DST calculation loses :-(.
  454. doprnt.c:
  455.     Change the output string for NaN and infinity to match what ANSI
  456.     specifies.
  457. pause.c:
  458.     Update sigpause() to use MiNT 0.95 Psigpause() system call.
  459. osbind.h:
  460.     The definition of Bconmap was wrong (in a big way!).
  461.     Also: added some new TT calls.
  462. various places:
  463.     Applied Scott Bigham's patches for Sozobon 1.33i.
  464. *.h:
  465.     Sync'd with the gcc library.
  466. getuid.c:
  467.     Use uid_t and gid_t where appropriate.
  468. read.c,write.c:
  469.     Use "unsigned long" for the size on _read and _write
  470.     (per the gcc library).
  471.